package com.zhongzhi.dao;

import java.util.ArrayList;

import org.apache.ibatis.annotations.Mapper;

import com.zhongzhi.springboot.pojo.Computers;
@Mapper
public interface ComputersDao {
	//增
	int insert(Computers computers);
	//改
	int update(Computers computers);
	//删
	int delete(Integer id);
	//分页查
	ArrayList<Computers> select(Integer pages, Integer line);
	//查总数
	int selectSize();
	//根据id查询
	Computers selectById(Integer id);
	//7:根据计算机站号查询
	ArrayList<Computers> selectByComputers(String computers);
	ArrayList<Computers> webselect();

}
